package com.bw.service;

import com.bw.bean.StudentInfo;
import com.bw.dao.StudentDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StudentServicedImpl implements StudentService{

    @Autowired
    StudentDao studentDao;

    @Override
    public List<StudentInfo> findAll() {
        return studentDao.findAll();
    }
}
